<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>%</title>
    <script type="text/javascript">
        //余数结果与被除数的符号位一致
        console.log(-5%3,-5%-3,5%3,5%-3);
        //NaN NaN NaN
        console.log(5%0,0/0,-5%0);
        //NaN NaN NaN
        console.log(5.0%0,0.0/0,-5.0%0);
    </script>
</head>
<body>

</body>
</html>